﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="MyDailyOrders.aspx.cs" Inherits="Profile_MyDailyOrders" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>我的报单
    </h2>
    
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource1" CssClass="commongv">
        <Columns>
            <asp:BoundField DataField="订单编号" HeaderText="订单编号" SortExpression="订单编号"/>
            <asp:BoundField DataField="注册日期" HeaderText="注册日期" SortExpression="注册日期" DataFormatString="{0:yyyy-MM-dd}"/>
            <asp:BoundField DataField="公司英文名" HeaderText="公司英文名" SortExpression="公司英文名" />
            <asp:BoundField DataField="公司中文名" HeaderText="公司中文名" SortExpression="公司中文名" />
            <asp:BoundField DataField="注册地" HeaderText="注册地" SortExpression="注册地" />
            <asp:BoundField DataField="业务类型" HeaderText="业务类型" SortExpression="业务类型" />
            <asp:BoundField DataField="成交价" HeaderText="成交价" SortExpression="成交价" DataFormatString="{0:0}"/>
            <asp:BoundField DataField="客户名" HeaderText="客户名" SortExpression="客户名" />
            <asp:BoundField DataField="客户类型" HeaderText="客户类型" ReadOnly="True" 
                SortExpression="客户类型" />
        </Columns>
        </asp:GridView><asp:HiddenField ID="LoginName" runat="server" />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:KOONCRMDB %>" 
        SelectCommand="Sheet_GetMyOrders" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="LoginName" Name="loginName" 
                PropertyName="Value" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>

